﻿using System;
using System.Collections.Generic;

namespace SheepStorage.Domain.Entity
{
    /// <summary>
    /// 部门表
    /// </summary>
    public partial class Department
    {
        /// <summary>
        /// 部门ID
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 部门上级
        /// </summary>
        public string DepartmentTop { get; set; } = null!;

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; } = null!;

        /// <summary>
        /// 部门停用
        /// </summary>
        public bool DepartmentIsUse { get; set; }

        /// <summary>
        /// 部门类型
        /// </summary>
        public string DepartmentType { get; set; } = null!;

        /// <summary>
        /// 部门序号
        /// </summary>
        public int DepartmentCode { get; set; }

        /// <summary>
        /// 部门地址
        /// </summary>
        public string DepartmentArea { get; set; } = null!;

        /// <summary>
        /// 直接上级
        /// </summary>
        public string ImmediateSuperior { get; set; } = null!;

        /// <summary>
        /// 部门主管
        /// </summary>
        public string DepartmentManager { get; set; } = null!;

        /// <summary>
        /// 分管负责人
        /// </summary>
        public string DepartmentDuty { get; set; } = null!;

        /// <summary>
        /// 财务主管
        /// </summary>
        public string DepartmentMoney { get; set; } = null!;

        /// <summary>
        /// 可查看人员
        /// </summary>
        public string DepartmentCheck { get; set; } = null!;

        /// <summary>
        /// 职能体系
        /// </summary>
        public string DutyManage { get; set; } = null!;

        /// <summary>
        /// 父id
        /// </summary>
        public int DepartmentParentId { get; set; }
    }
}
